- minimal = local_assigns.fetch(:minimal, false)
!!! 5
%html{ lang: I18n.locale, class: page_class }
  = render "layouts/head"
  %body{ class: "#{user_application_theme} #{user_tab_width} #{@body_class} fullscreen-layout", data: { page: body_data_page } }
    = render 'peek/bar'
    = header_message
    - unless minimal
      = render partial: "layouts/header/default", locals: { project: @project, group: @group }
      .mobile-overlay
    .hide-when-top-nav-responsive-open.gl--flex-full.gl-h-full{ class: nav ? ["layout-page", page_with_sidebar_class, "gl-mt-0!"]: '' }
      - if defined?(nav) && nav
        = render "layouts/nav/sidebar/#{nav}"
      .gl--flex-full.gl-flex-direction-column.gl-w-full
        .alert-wrapper
          = render 'shared/outdated_browser'
          = render "layouts/broadcast"
          = yield :flash_message
          = render "layouts/flash", flash_container_no_margin: true
        .content-wrapper{ id: "content-body", class: "d-flex flex-column align-items-stretch" }
          = yield
    - unless minimal
      = render "layouts/nav/top_nav_responsive", class: "gl-flex-grow-1 gl-overflow-y-auto"
    = footer_message
